Optimal. Leaf size=108 \[ \frac{\left (a e^2+c d^2\right )^2 \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{\sqrt{d} e^{9/2}}-\frac{c d x \left (2 a e^2+c d^2\right )}{e^4}+\frac{c x^3 \left (2 a e^2+c d^2\right )}{3 e^3}-\frac{c^2 d x^5}{5 e^2}+\frac{c^2 x^7}{7 e} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.147923, antiderivative size = 108, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105 \[ \frac{\left (a e^2+c d^2\right )^2 \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{\sqrt{d} e^{9/2}}-\frac{c d x \left (2 a e^2+c d^2\right )}{e^4}+\frac{c x^3 \left (2 a e^2+c d^2\right )}{3 e^3}-\frac{c^2 d x^5}{5 e^2}+\frac{c^2 x^7}{7 e} \]
Antiderivative was successfully verified.
[In] Int[(a + c*x^4)^2/(d + e*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{c^{2} d x^{5}}{5 e^{2}} + \frac{c^{2} x^{7}}{7 e} + \frac{c x^{3} \left (2 a e^{2} + c d^{2}\right )}{3 e^{3}} - \frac{d \left (2 a e^{2} + c d^{2}\right ) \int c\, dx}{e^{4}} + \frac{\left (a e^{2} + c d^{2}\right )^{2} \operatorname{atan}{\left (\frac{\sqrt{e} x}{\sqrt{d}} \right )}}{\sqrt{d} e^{\frac{9}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x**4+a)**2/(e*x**2+d),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.127111, size = 97, normalized size = 0.9 \[ \frac{\left (a e^2+c d^2\right )^2 \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{\sqrt{d} e^{9/2}}+\frac{c x \left (70 a e^2 \left (e x^2-3 d\right )+c \left (-105 d^3+35 d^2 e x^2-21 d e^2 x^4+15 e^3 x^6\right )\right )}{105 e^4} \]
Antiderivative was successfully verified.
[In] Integrate[(a + c*x^4)^2/(d + e*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.005, size = 136, normalized size = 1.3 \[{\frac{{c}^{2}{x}^{7}}{7\,e}}-{\frac{{c}^{2}d{x}^{5}}{5\,{e}^{2}}}+{\frac{2\,c{x}^{3}a}{3\,e}}+{\frac{{c}^{2}{x}^{3}{d}^{2}}{3\,{e}^{3}}}-2\,{\frac{acdx}{{e}^{2}}}-{\frac{{c}^{2}{d}^{3}x}{{e}^{4}}}+{{a}^{2}\arctan \left ({ex{\frac{1}{\sqrt{de}}}} \right ){\frac{1}{\sqrt{de}}}}+2\,{\frac{ac{d}^{2}}{{e}^{2}\sqrt{de}}\arctan \left ({\frac{ex}{\sqrt{de}}} \right ) }+{\frac{{c}^{2}{d}^{4}}{{e}^{4}}\arctan \left ({ex{\frac{1}{\sqrt{de}}}} \right ){\frac{1}{\sqrt{de}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x^4+a)^2/(e*x^2+d),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^4 + a)^2/(e*x^2 + d),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.319095, size = 1, normalized size = 0.01 \[ \left [\frac{105 \,{\left (c^{2} d^{4} + 2 \, a c d^{2} e^{2} + a^{2} e^{4}\right )} \log \left (\frac{2 \, d e x +{\left (e x^{2} - d\right )} \sqrt{-d e}}{e x^{2} + d}\right ) + 2 \,{\left (15 \, c^{2} e^{3} x^{7} - 21 \, c^{2} d e^{2} x^{5} + 35 \,{\left (c^{2} d^{2} e + 2 \, a c e^{3}\right )} x^{3} - 105 \,{\left (c^{2} d^{3} + 2 \, a c d e^{2}\right )} x\right )} \sqrt{-d e}}{210 \, \sqrt{-d e} e^{4}}, \frac{105 \,{\left (c^{2} d^{4} + 2 \, a c d^{2} e^{2} + a^{2} e^{4}\right )} \arctan \left (\frac{\sqrt{d e} x}{d}\right ) +{\left (15 \, c^{2} e^{3} x^{7} - 21 \, c^{2} d e^{2} x^{5} + 35 \,{\left (c^{2} d^{2} e + 2 \, a c e^{3}\right )} x^{3} - 105 \,{\left (c^{2} d^{3} + 2 \, a c d e^{2}\right )} x\right )} \sqrt{d e}}{105 \, \sqrt{d e} e^{4}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^4 + a)^2/(e*x^2 + d),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 2.19622, size = 235, normalized size = 2.18 \[ - \frac{c^{2} d x^{5}}{5 e^{2}} + \frac{c^{2} x^{7}}{7 e} - \frac{\sqrt{- \frac{1}{d e^{9}}} \left (a e^{2} + c d^{2}\right )^{2} \log{\left (- \frac{d e^{4} \sqrt{- \frac{1}{d e^{9}}} \left (a e^{2} + c d^{2}\right )^{2}}{a^{2} e^{4} + 2 a c d^{2} e^{2} + c^{2} d^{4}} + x \right )}}{2} + \frac{\sqrt{- \frac{1}{d e^{9}}} \left (a e^{2} + c d^{2}\right )^{2} \log{\left (\frac{d e^{4} \sqrt{- \frac{1}{d e^{9}}} \left (a e^{2} + c d^{2}\right )^{2}}{a^{2} e^{4} + 2 a c d^{2} e^{2} + c^{2} d^{4}} + x \right )}}{2} + \frac{x^{3} \left (2 a c e^{2} + c^{2} d^{2}\right )}{3 e^{3}} - \frac{x \left (2 a c d e^{2} + c^{2} d^{3}\right )}{e^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x**4+a)**2/(e*x**2+d),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.268768, size = 142, normalized size = 1.31 \[ \frac{{\left (c^{2} d^{4} + 2 \, a c d^{2} e^{2} + a^{2} e^{4}\right )} \arctan \left (\frac{x e^{\frac{1}{2}}}{\sqrt{d}}\right ) e^{\left (-\frac{9}{2}\right )}}{\sqrt{d}} + \frac{1}{105} \,{\left (15 \, c^{2} x^{7} e^{6} - 21 \, c^{2} d x^{5} e^{5} + 35 \, c^{2} d^{2} x^{3} e^{4} - 105 \, c^{2} d^{3} x e^{3} + 70 \, a c x^{3} e^{6} - 210 \, a c d x e^{5}\right )} e^{\left (-7\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^4 + a)^2/(e*x^2 + d),x, algorithm="giac")
[Out]